<form id="edit-form" class="form-horizontal" role="form" data-toggle="validator" method="POST" action="">

    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Declareno')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-declareNo" data-rule="required" class="form-control" name="row[declareNo]" type="text" value="{$row.declareNo|htmlentities}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Bookno')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-bookNo" data-rule="required" class="form-control" name="row[bookNo]" type="text" value="{$row.bookNo|htmlentities}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Entryport')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-entryPort" data-rule="required" class="form-control" name="row[entryPort]" type="text" value="{$row.entryPort|htmlentities}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Entry_time')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-entry_time" class="form-control datetimepicker" data-date-format="YYYY-MM-DD HH:mm:ss" data-use-current="true" name="row[entry_time]" type="text" value="{:$row.entry_time?datetime($row.entry_time):''}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Release_time')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-release_time" class="form-control datetimepicker" data-date-format="YYYY-MM-DD HH:mm:ss" data-use-current="true" name="row[release_time]" type="text" value="{:$row.release_time?datetime($row.release_time):''}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Guarantees_time')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-guarantees_time" class="form-control datetimepicker" data-date-format="YYYY-MM-DD HH:mm:ss" data-use-current="true" name="row[guarantees_time]" type="text" value="{:$row.guarantees_time?datetime($row.guarantees_time):''}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Declare_time')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-declare_time" class="form-control datetimepicker" data-date-format="YYYY-MM-DD HH:mm:ss" data-use-current="true" name="row[declare_time]" type="text" value="{:$row.declare_time?datetime($row.declare_time):''}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Entrystorehouse')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-entryStorehouse" data-rule="required" class="form-control" name="row[entryStorehouse]" type="text" value="{$row.entryStorehouse|htmlentities}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Entrychain')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-entryChain" data-rule="required" class="form-control" name="row[entryChain]" type="text" value="{$row.entryChain|htmlentities}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Declarechain')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-declareChain" data-rule="required" class="form-control" name="row[declareChain]" type="text" value="{$row.declareChain|htmlentities}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Releasechain')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-releaseChain" data-rule="required" class="form-control" name="row[releaseChain]" type="text" value="{$row.releaseChain|htmlentities}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Type')}:</label>
        <div class="col-xs-12 col-sm-8">
                        
            <select  id="c-type" data-rule="required" class="form-control selectpicker" name="row[type]">
                {foreach name="typeList" item="vo"}
                    <option value="{$key}" {in name="key" value="$row.type"}selected{/in}>{$vo}</option>
                {/foreach}
            </select>

        </div>
    </div>
    <div class="form-group layer-footer">
        <label class="control-label col-xs-12 col-sm-2"></label>
        <div class="col-xs-12 col-sm-8">
            <button type="submit" class="btn btn-success btn-embossed disabled">{:__('OK')}</button>
            <button type="reset" class="btn btn-default btn-embossed">{:__('Reset')}</button>
        </div>
    </div>
</form>
